#ifndef _UART_DRIVER_H_
#define _UART_DRIVER_H_

#include "main.h"

#define MAX_WAIT_TIME 200
#define R_485_WRITE_EN     HAL_GPIO_WritePin(R_485_WRITE_GPIO_Port,R_485_WRITE_Pin,GPIO_PIN_SET)
#define R_485_WRITE_UN     HAL_GPIO_WritePin(R_485_WRITE_GPIO_Port,R_485_WRITE_Pin,GPIO_PIN_RESET)

void uart_send_data(UART_HandleTypeDef *huart,uint8_t *data,uint8_t data_Len);


#endif